package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.ChargeContractDetail;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.ChargeContractDetailVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 计费合同子表 服务类
 * </p>
 *
 * @author 1
 * @since 2024-05-28
 */
public interface ChargeContractDetailService extends IService<ChargeContractDetail> {

    List<ChargeContractDetailVo> getContractDetailList(Page<ChargeContractDetailVo> page, ChargeContractDetailVo vo);

    ResultUtil<T> addContractDetail(ChargeContractDetail detail);

    ResultUtil<T> updateContractDetail(ChargeContractDetail detail);

    ResultUtil<T> delContractDetail(Long id);

}
